約 4,001,682 件
https://w.atwiki.jp/gamexprogram/pages/31.html
C言語 switch文 受け取った値によって条件分岐をするものです。 ゲームシーンの切替等に利用されます 数値しか受け取れませんが、ゲームを作る上で かなり便利です。 使用方法 switch(変数) { case 0 { 処理 } case 1 { 処理 } … default { 処理 } } 例文 //================================================ //include //================================================ #include stdio.h //================================================ //メイン関数 //================================================ int main(void) { int Key = 0; printf("モンスターが現れた!どうする?\n"); printf("0 戦う\n"); printf("1 逃げる\n"); printf("2 何もしない\n"); scanf("%d", Key); switch(Key) { case 0 { printf("モンスターとの戦闘に突入!\n"); break; } case 1 { printf("主人公はうまく逃げ出した\n"); break; } case 2 { printf("モンスターの攻撃\n"); printf("主人公はやられた\n"); printf("GAME OVER\n"); break; } default { printf("認識されていない行動です\n"); break; } } return 0; } 実行結果 解説 Keyの値によって表示させる文を変えています。 switch(Key) 0の場合は戦いのメッセージが case 0 { printf("モンスターとの戦闘に突入!\n"); break; } 1の場合は逃げのメッセージが case 1 { printf("主人公はうまく逃げ出した\n"); break; } 2の場合は何もしない時のメッセージが表示されます。 case 2 { printf("モンスターの攻撃\n"); printf("主人公はやられた\n"); printf("GAME OVER\n"); break; } また、その他の場合(default)は認識されていないと表示されます default { printf("認識されていない行動です\n"); break; } switch文はif-else文で、書き直せる処理で、 この場合だったら、 case 0 は if(Key == 0) と書き直せますし、 default は else で書き直すことができます。 C言語に戻る
https://w.atwiki.jp/spellbreakjapan/pages/68.html
Whispers from the Vault - Release 25 s patch notes! OFFICIAL Hey Breakers! パッチノート和訳 Release 25に戻る Release 25 is almost upon us, so let s check out the patch notes! Note This patch is NOT live yet, but should be coming in the next few days. If you want to sign up for the Spellbreak Closed Alpha, you can do so here https //playspellbreak.com NEW FEATURES Players can now choose which slot a gauntlet is equipped to when picking them up. If you tap the pickup key, it works like it does currently, but if you hold the pickup key down, you can press your left or right mouse button to choose if it should go into your left or right hand. Players now leave brief run trails behind them as they run and jump. They re disabled while standing still and more subtle while crouching. This is a WIP and we re curious to hear what y all think. QUALITY OF LIFE Revamped the drop system We ve focused a lot on making the drop easier to use, both when playing by yourself and when playing with friends. Players/teams now have a randomly assigned default drop portal that, if no other portal is selected, they will spawn through at the end of the countdown. Increased portal selection time from 10s to 20s. If you re playing with a squad, the first player to select a new drop portal shifts the selection for the entire squad; subsequent selections from any player will not shift the selection for the entire squad but for that player alone. This allows a drop leader to select the default for their squad while giving individual players the agency to go elsewhere if they so desire. Squadmates dropping through the same portal now spawn close together. Movement locking has been removed from the end of the drop, so players have increased movement control. No more overshooting a landing! Continued iteration on the player info UI and HUD and moved the health and armor bar to the top left of the screen and added more information, including selected classes, badge, and party identifier while playing in squads. This is ongoing... more updates coming soon! Added a separate mouse sensitivity scale slider for when you re zoomed in. This was a big community request... RejoICE! Adjusted camera position and increased field of view from 85 while standing and 90 while moving to 103 across the board. Another oft-heard community request. You can now see way more of the battlefield and your surroundings. BALANCE CHANGES Movement Reduced base sprint forward speed by 10% (from 6.75m/s to 6.075m/s) Don t panic! Keep reading... Armor Reduced starting max armor to 20 from 75. Again, don t panic and keep reading... Fixed the longstanding "bug" where if you had high max armor and swapped to a belt without high max armor and then swapped back, your armor would be lost. You should no longer lose that armor when swapping between belts with different max armor values. Some good quality of life here. Items We ve overhauled nearly every item (amulet, belt, boots) in the game! They ve been streamlined, standardized, in many cases re-stat d and renamed, powercreeped, and more. We wanted items to remain powerful but provide more "good" choices while reducing bad choices and treasure system bloat. Items should provide base functionality so tradeoffs or upgrade potentials between different items are more clear. (As an incidental, the treasure system has been "flattened" so higher rarity items will no longer be more common than a lower rarity item in absolute terms.) For each slot, there s a single common and a single uncommon item and then two more items per slot per rarity, which means there are now only eight items per slot. This is definitely a reduction! A lot of the items that were retired were very underused or very niche and while there s an argument to be made for items like this to have value, we wanted to try the game without them and reserve their effects for possible exploration down the line. Let s go through all of the items! Amulets All amulets now increase your maximum mana, scaled by their rarity. No matter what amulet you equip, it increase your maximum mana, allowing you to cast more spells and have improved mana regeneration. Common Amulet - Max Mana +15 Uncommon Amulet - Max Mana +30 Rare Amulet of the Wanderer - Cast Speed +20%, Max Mana +45 Rare Amulet of the Berserker - Sorcery Cooldown -35%, Max Mana +45 Epic Amulet of the Slayer - Spell Damage +15%, Max Mana +60 Epic Amulet of the Survivor - Drain Health 25%, Max Mana +60 Legendary Amulet of the Scribe - On Rune Use Refresh Sorceries, Cooldown 5s, Max Mana +75 Legendary Amulet of the Behemoth - Spell Damage +10%, Cast Speed +15%, Max Mana +75 Belts All belts now increase your maximum armor, scaled by their rarity. No matter what belt you equip, it increase your maximum armor. This is why we lowered the starting max armor. Also note the armor scaling slows down as rarity increases, allowing players at different rarity tiers to be on more equal footing. Common Belt - Max Armor +20 Uncommon Belt - Max Armor +40 Rare Belt of the Slayer - Rune Cooldown Speed +20%, Max Armor +55 Rare Belt of the Wanderer - Max Rune Charges +1, Max Armor +55 Epic Belt of the Scribe - On Rune Use Damage Resistance +95% (1s), Cooldown 5s, Max Armor +65 Epic Belt of the Survivor -Damage Resistance +20%, Max Armor +65 Legendary Belt of the Behemoth - Damage Resistance +10%, Max Rune Charges +1, Max Armor +70 Legendary Belt of the Berserker - Max Rune Charges +2, Rune Cooldown Speed +20%, Max Armor +70 Boots All boots now increase your maximum run speed, scaled by their rarity. No matter what boots you equip, they increase your maximum run speed. Sorry for the panic above around max sprint speed! While now your sprint speed with the fastest boots is slower than previous patches, you can more consistently move faster with any boots instead of having to make that tradeoff. Common Boots - Run Speed +5% Uncommon Boots - Run Speed +10% Rare Boots of the Scribe - On Rune Use Run Speed +35% (5s), Run Speed +15% Rare Boots of the Berserker - Immune Shock, On Lightning Damage Taken Run Speed +40% (5s), Run Speed +15% Epic Boots of the Survivor - On Crouch (1s) Invisibility, Run Speed +20% Epic Boots of the Behemoth - Immune Shock, Toxic Puddles, Ice Patches, Run Speed +20% Legendary Boots of the Slayer - Triple Jump, Max Jump +25%, Run Speed +25% Legendary Boots of the Wanderer - Invisibility (5s) every 10s, Run Speed +25% OPTIMIZATIONS We ve spent a considerable amount of time on performance this patch and have seen some big improvements across the board in FPS, hitching, memory usage, and more. While there s still more work to be done, you should have much better performance in this patch! Significant performance optimizations, especially for lower-end CPUs. New mesh drawing pipeline batches multiple meshes into one draw call, reducing CPU overhead when submitting commands to GPU. Improved batching when rendering shadows and depth maps. Depth prepass of large structures reduces GPU usage in heavily occluded areas. More granular sublevel streaming reduces the total number of primitives in the scene. Reduced framerate hitches, especially in dense areas of the map like Fort Halcyon. Fixed a stall when streaming in a new sublevel where the textures haven’t finished streaming in yet before the level becomes visible. Fixed some garbage collector stalls when streaming in new levels. More granular sublevel streaming to amortize loading costs over time. Reduced memory usage. Optimizations to geometry complexity and texture sizes. Fixed a bug in the netcode that would cause rubber-banding when running at very high framerates. If you previously had to cap your framerate to prevent weird blipping and rubberbanding, that should be fixed now! Time to uncap those framerates! VISUAL AND AUDIO CHANGES Numerous skills have VFX associated with them to better communicate who’s buffed or debuffed. These are very much a WIP! Visual polish and minor bug fixes on the Bug Hunter and Patchwork skins Updated VFX for the drop landing Various UI improvements to make exile, circle, level up, and team alerts more informative and consistent for players New revive animation Removed the "grunt" sound when being hit hard UGNH MAP CHANGES There are no map changes in this release. Look forward to a whole bunch in the next release! BUG FIXES Players can no longer change internal engine configuration by editing their engine .ini files. This is only engine properties such as rendering parameters and not game-settings for keybindings, sensitivity, etc. This was done due to some easily editable options that gave players certain advantages. Further work around this is on-going. You can still edit GameUserSettings.ini as before. Fixed a bug that prevented the damage overlay vfx on the character from working after the player had been invisible Spectating players can no longer bring up the emote radial Potions and armor shards no longer become invisible when the player crouches Brand new players will be assigned a random character skin upon login if they don t select one Fixed a bug that was sometimes preventing players from selecting some game modes when switching between server regions Fixed a bug that prevented players from selecting an emote to play while the build or inventory menus were open Fixed a host of map related bugs reported by the community パッチノート和訳 Release 25に戻る
https://w.atwiki.jp/pathofexile12/pages/349.html
Cane of UnravellingはEzomyte Staffのユニーク 入手方法 詳説・特徴 関連リンク Cane of Unravelling Ezomyte StaffWarstaffQuality +20%Physicalダメージ 55.2-164.4クリティカル確率 7.00%攻撃速度 1.25武器攻撃範囲 13DPS 137.2 pDPS 137.2 ステータス要求値:LEVEL60, 113 STR, 113 INT +18% Chance to Block Attack Damage while wielding a Staffスタッフを装備中、アタック攻撃に対するブロック率+18% +2 to Level of all Chaos Spell Skill Gems全てのChaos Spellスキルジェムのレベルを+2 (20-30)% increased Chaos DamageChaosダメージが(20-30)%増加 2% increased Cast Speed per Power ChargePower ChargeごとにCast Speedが2%増加 +(40-55)% to Chaos Damage over Time MultiplierChaos持続ダメージ倍率に+(40-55)% Gain a Power Charge after Spending a total of 200 Mana合計200マナ消費するとPower Chargeを得る Regenerate 2 Mana per Second per Power ChargePower Chargeごとに秒間2マナリジェネを得る Creation is the act of making the intangible tangible.To work backwards, to make the tangible intangible,is to step into the mind of God.- Doryani, Queen s Thaumaturgist 入手方法 カード等のドロップ以外の入手方法 アイテム 必要数 備考 The Tower 6 Atziri s Arsenal 4 Jack in the Box 4 Arrogance of the Vaal 8 詳説・特徴 関連リンク 英wiki https //pathofexile.gamepedia.com/Cane_of_Unravelling Unique Warstaff 一覧
https://w.atwiki.jp/bemani2sp/pages/2274.html
GENRE TITLE ARTIST bpm notes CLEAR RATE ELECTRANCE BRAVE OUT nomico / DOWNFORCE 150 m%(yyyy/mm/dd) 攻略・コメント アルストロメリアとVANESSAを少し混ぜて強くした感じ -- 名無しさん (2014-06-14 07 09 34) VANESSA(N)との大きな違いは、三連複・階段が12分だけでなく16分が混ざってると言うこと リズムをつかめないと黄ばんだりBAD量産するので注意 -- 名無しさん (2014-07-16 10 29 35) 階段混じりの乱打が全体的に長め。上記の通り12分と16分が混じっているので、リズムの他にもノートの間隔や判定の具合にも注目。 -- 名無しさん (2014-07-27 17 10 21) 名前 コメント
https://w.atwiki.jp/pdmatome/pages/97.html
タイトル名 fault milestone one 特設ページ サークル名 ALICE IN DISSONANCE 販売情報 機種 地域 パブリッシャー 配信日 Steam 日/北米 Sekai Project 2013/8/9 PS4/PS Vita 日/北米 Sekai Games 未定 Nitendo Switch PV
https://w.atwiki.jp/mustnotsearch/pages/5050.html
登録タグ フォビック 危険度1 カナダのアーティスト「Evelyn Bracklow」さんという方の作品が多数ヒットする。 こちらの方は、普段から使っている日常用品にアリを大量にデザインするというアーティスト。 数匹のアリがお皿やポットなどに特定の真ん中付近に集まっており集合体になっている。 集合体恐怖症の方には堪える作品かもしれない 分類:フォビック 危険度:1 コメント なんかこういうデザインする人って結構面白いよね。 -- 疾風怒濤 (2022-12-09 21 34 41) この皿で食事は摂りたくないな… -- 國圀 (2022-12-09 21 55 35) 蟻まみれ -- 武家公家大家 (2022-12-09 22 20 44) 報告者です、記事作成ありがとうございます -- 霧雨カッキー (2022-12-10 00 04 33) 記事作成しました。どういたしまして。 -- 武家公家大家 (2022-12-10 00 13 07) めっちゃ手で取りたいわ~ -- ナイル (2022-12-10 01 12 05) これは触りたくない... -- ゲーム太郎 (2022-12-10 08 48 39) 足の半透明感が上手いのがまたリアルだな -- 新しいフォルダ (2022-12-13 01 17 00) 食欲失せるわ() -- 水瓶さん (2022-12-13 12 08 40) 見てたらムズムズしてきた -- 名無しさん (2023-01-21 20 22 12) これでは食いたくない -- 名無しさん (2023-02-02 14 05 26) 絵かと思ったら皿にありが描かれてた。こんな食器は嫌だ。 -- めろん (2023-11-03 21 51 15) 名前 コメント
https://w.atwiki.jp/orangejbanana/pages/18.html
1355 /* Set all the option flags according to the switches specified. 1356 Return the index of the first non-option argument. */ 1357 1358 static int 1359 decode_switches (int argc, char **argv) 1360 { 1361 int c; 1362 char *time_style_option = NULL; 1363 1364 /* Record whether there is an option specifying sort type. */ 1365 bool sort_type_specified = false; 1366 1367 qmark_funny_chars = false; 1368 1369 /* initialize all switches to default settings */ 1370 1371 switch (ls_mode) 1372 { 1373 case LS_MULTI_COL 1374 /* This is for the `dir program. */ 1375 format = many_per_line; 1376 set_quoting_style (NULL, escape_quoting_style); 1377 break; ls/set_quoting_style デフォルトのstyleオプションをescape_quoting_styleにしている。 1378 1379 case LS_LONG_FORMAT 1380 /* This is for the `vdir program. */ 1381 format = long_format; 1382 set_quoting_style (NULL, escape_quoting_style); 1383 break; 1384 1385 case LS_LS 1386 /* This is for the `ls program. */ 1387 if (isatty (STDOUT_FILENO)) 1388 { 1389 format = many_per_line; 1390 /* See description of qmark_funny_chars, above. */ 1391 qmark_funny_chars = true; 1392 } 1393 else 1394 { 1395 format = one_per_line; 1396 qmark_funny_chars = false; 1397 } 1398 break; 1399 1400 default 1401 abort (); 1402 } 1403 1404 time_type = time_mtime; 1405 sort_type = sort_name; 1406 sort_reverse = false; 1407 numeric_ids = false; 1408 print_block_size = false; 1409 indicator_style = none; 1410 print_inode = false; 1411 dereference = DEREF_UNDEFINED; 1412 recursive = false; 1413 immediate_dirs = false; 1414 ignore_mode = IGNORE_DEFAULT; 1415 ignore_patterns = NULL; 1416 hide_patterns = NULL; 1417 1418 /* FIXME put this in a function. */ 1419 { 1420 char const *q_style = getenv ("QUOTING_STYLE"); 1421 if (q_style) 1422 { 1423 int i = ARGMATCH (q_style, quoting_style_args, quoting_style_vals); 1424 if (0 = i) 1425 set_quoting_style (NULL, quoting_style_vals[i]); 1426 else 1427 error (0, 0, 1428 _("ignoring invalid value of environment variable QUOTING_STYLE %s"), 1429 quotearg (q_style)); 1430 } 1431 } 1432 1433 { 1434 char const *ls_block_size = getenv ("LS_BLOCK_SIZE"); 1435 human_output_opts = human_options (ls_block_size, false, 1436 output_block_size); 1437 if (ls_block_size || getenv ("BLOCK_SIZE")) 1438 file_output_block_size = output_block_size; 1439 } ls/human_options
https://w.atwiki.jp/aquavitae/pages/23.html
Map Travel 宿予約Yahoo!トラベル じゃらん るるぶ 一休 やど上手 ベストリザーブ トクートラベル 地図goo(地図) goo(ルートガイド) マピオン マピオン(キョリ測) GoogleMap ルート検索ジョルダン(乗換案内) NAVITIME 駅探 その他交通サービスタイムズプラス タクシーサイト gogo.gs
https://w.atwiki.jp/fukenkoh/pages/12.html
未整理。 MSDNライブラリ 紹介 http //msdn.microsoft.com/library/ja/default.asp?url=/library/ja/DirectX9_m/directx/dx9intro.asp MSDNライブラリ リファレンス http //msdn.microsoft.com/library/ja/default.asp?url=/library/ja/DirectX9_m/directx/ref_entry.asp
https://w.atwiki.jp/nkym_memo/pages/31.html
;; .emacs ;; ;; Last Updated 2010/12/14 Tue 02 31 29 ;; (if window-system (progn ;; 文字の色を設定 (add-to-list 'default-frame-alist '(foreground-color . "white")) ;; 背景色を設定 (add-to-list 'default-frame-alist '(background-color . "gray7")) ;; カーソルの色を設定 (add-to-list 'default-frame-alist '(cursor-color . "SlateBlue2")) ;; ;; マウスポインタの色を設定 ;; (add-to-list 'default-frame-alist '(mouse-color . "SlateBlue2")) ;; ;; モードラインの文字の色を設定 ;; (set-face-foreground 'modeline "white") ;; ;; モードラインの背景色を設定 ;; (set-face-background 'modeline "MediumPurple2") ;; ;; 選択中のリージョンの色を設定 (set-face-background 'region "Dark Slate Grey") ;; ;; モードライン(アクティブでないバッファ)の文字色を設定 ;; (set-face-foreground 'mode-line-inactive "gray30") ;; ;; モードライン(アクティブでないバッファ)の背景色を設定 ;; (set-face-background 'mode-line-inactive "gray85") )) ;;auto-install.elのインストール手順 ;; $mkdir -p ~/.emacs.d/auto-install ;; cd ~/.emacs.d/auto-install ;; wget http //www.emacswiki.org/emacs/download/auto-install.el ;; emacs --batch -Q -f batch-byte-compile auto-install.el ;;;Emacs Lispインストーラを利用 (add-to-list 'load-path "~/.emacs.d/auto-install") ;;(install-elisp-from-emacswiki "auto-install.el") ;(require 'auto-install) ;;起動時にEmacswikiのページを補完候補に加える ;(auto-install-update-emacswiki-package-name t) ;;install-elisp.el互換モード ;(auto-install-compatibility-setup) ;;ediff関連のバッファを一つのフレームにまとめる (setq ediff-window-setup-function 'ediff-setup-windows-plain) ;;; 基本設定 ;; スタートアップを非表示 (setq inhibit-startup-screen -1) ;; ビープ音を消す (setq ring-bell-function 'ignore) ;; 現在行に色をつける (global-hl-line-mode 1) ;; その行の色 (set-face-background 'hl-line "black") ;; 履歴を次回Emacs起動時にも保存する (savehist-mode 1) ;; 対応する括弧を光らせる (show-paren-mode 1) ;; カーソルの位置が何文字目かを表示する (column-number-mode t) ;; バックアップファイルを作らない (setq backup-inhibited t) ;; Xでのクリップボードを共有 (setq x-select-enable-clipboard t) ;; yes-or-noをy-or-nに省略 (defalias 'yes-or-no-p 'y-or-n-p) ;; 行の先頭でC-kを一回押すだけで行全体を消去する (setq kill-whole-line t) ;; ツールバーを非表示 (tool-bar-mode -1) ;; メニューバーを非表示 (menu-bar-mode -1) ;; 圧縮されたファイルも編集できるようにする (auto-compression-mode t) ;; スクロールを一行ずつにする (setq scroll-step 1) ;;; 現在の関数名をモードラインに表示 (which-function-mode 1) ;;; emacsclient ;; ファイルを現在のemacsで開く (server-start) ;; キーバインドの変更 ;; 指定の行に移る (global-set-key "\M-g" 'goto-line) ;; undo (global-set-key "\C-z" 'undo) ;; ウィンドウの移動をM-tに (global-set-key "\M-t" 'other-window) ;; C-hをBackSpaceに (global-set-key "\C-h" 'delete-backward-char) ;; M-x compile を C-. に (global-set-key [?\C-\.] 'compile) ;;; 初期フレームの設定 (setq initial-frame-alist (append '( (width . 47) ; フレーム幅(文字数) (height . 63)) ; フレーム高(文字数) initial-frame-alist)) ;;; 新規フレームのデフォルト設定 (setq default-frame-alist (append '((width . 47); フレーム幅(文字数) (height . 63)); フレーム高(文字数) default-frame-alist)) ;;; ファイル更新日を自動的に書き換える。 ;; ファイルの頭に "last updated "をつけくわえればよい (require 'time-stamp) ;; 日本語で日付を入れたくないのでlocaleをCにする (defun time-stamp-with-locale-c () (let ((system-time-locale "C")) (time-stamp) nil)) (if (not (memq 'time-stamp-with-locale-c write-file-hooks)) (add-hook 'write-file-hooks 'time-stamp-with-locale-c)) (setq time-stamp-active t) (setq time-stamp-start "Last Updated ") (setq time-stamp-format "%04y/%02m/%02d %3a %02H %02M %02S") (setq time-stamp-end " ") ;;;Last Updated の後に空白2つ以上いれると置換 ;;; タイトルバーにファイル名を表示する (setq frame-title-format (format "emacs@%s %%f" (system-name))) ;;; ファイルの自動挿入 (auto-insert-mode) ;; 自動挿入するファイルのあるディレクトリ ;; 最後の/は必須 (setq auto-insert-directory "~/.emacs.d/insert/") ;; 自動挿入するファイル (define-auto-insert "\\.c" "c-template.c") ;;; viewer.el view-modeの設定 ;; M-x install-elisp-from-emacswiki viewer.el ;; ;; C-x C-rでview-modeでファイルを開く (setq view-read-only t) ;; 書き込み不能な場合はview-modeを抜けないように (require 'viewer) (viewer-stay-in-setup) ;; .log .out .datファイルをview-modeで開く (setq view-mode-by-default-regexp "\\.log") (setq view-mode-by-default-regexp "\\.out") (setq view-mode-by-default-regexp "\\.dat") ;;; view-mode時にモードラインに色をつける ;; 色名を指定 (setq viewer-modeline-color-unwritable "tomato") (setq viewer-modeline-color-view "orange") (viewer-change-modeline-color-setup) ;; view-mode時のキーバインド (define-key view-mode-map "h" 'backward-char) (define-key view-mode-map "j" 'next-line) (define-key view-mode-map "k" 'previous-line) (define-key view-mode-map "l" 'forward-char) (define-key view-mode-map "J" 'View-scroll-line-forward) (define-key view-mode-map "K" 'View-scroll-line-backward) (define-key view-mode-map "b" 'scroll-down) (define-key view-mode-map " " 'scroll-up) ;; bm.el (define-key view-mode-map "m" 'bm-toggle) (define-key view-mode-map "[" 'bm-previous) (define-key view-mode-map "]" 'bm-next) ;; view-modeを有効・無効にする ;; 0.04秒以内に jk を同時押しでview-modeに移行 (require 'key-chord) (setq key-chord-two-keys-delay 0.04) (key-chord-mode 1) (key-chord-define-global "jk" 'view-mode) ;;; redo+.el (require 'redo+) ;; M-zに設定 (global-set-key "\M-z" 'redo) (setq undo-no-redo t); 過去のundoがredoされないようにする ;; 大量のundoに耐えられるようにする (setq undo-limit 600000) (setq undo-strong-limit 900000) ;;;fullscreen.el (require 'fullscreen) ;;; recentf-ext.el ;; install-elisp-from-emacswiki recentf-ext.el ;; 保存しておく数 (setq recentf-max-saved-items 3000) ;; 最近使ったファイルに加えないファイルを正規表現で指定する (setq recentf-exclude '("/TAGS$" "/var/tmp/")) (require 'recentf-ext) ;; f8をショートカットキーに (global-set-key [f8] 'recentf-open-files) ;;; auto-complete.el ;; install-elisp-from-emacswiki auto-complete.el ;(require 'auto-complete) ;(global-auto-complete-mode 1) ;;;col-highlight.el ;; auto-install-batch col-highlight.el ;(require 'col-highlight) ;(column-highlight-mode 1) ;;何もしないでいるとハイライトを始めるようにする場合 ;(toggle-highlight-column-when-idle 1) ;(col-highlight-set-interval 3) ;;; hippie-expand ;;; 略語展開の順を設定 (setq hippie-expand-try-functions-list '(try-expand-dabbrev try-expand-dabbrev-all-buffers try-expand-dabbrev-from-kill try-complete-file-name-partially try-complete-file-name try-expand-all-abbrevs try-expand-list try-expand-line try-complete-lisp-symbol-partially try-complete-lisp-symbol)) ;; キーバインドの変更 C-; (global-set-key [?\C-;] 'hippie-expand) ;;; ipa.el (require 'ipa) ;;; 背景色 (set-face-background 'highlight "lavender") ;;; sequential-command.el ;;; M-x auto-install-batch sequential-command (require 'sequential-command-config) (sequential-command-setup-keys) ;;; smartchr.el ;; M-x install-elisp ;; https //github.com/imakado/emacs-smartchr/raw/master/smartchr.el (require 'smartchr) ;; once "", twice " (global-set-key (kbd "\"") (smartchr '("\"`!!'\"" "\""))) ;; once '', twice ' (global-set-key (kbd "\'") (smartchr '("\'`!!'\'" "\'"))) ;;; auto-save-buffers.el ;; M-x install-elisp ;; http //homepage3.nifty.com/oatu/emacs/archives/auto-save-buffers.el (require 'auto-save-buffers) ;; アイドル2秒で保存 (run-with-idle-timer 0.2 t 'auto-save-buffers) (run-with-idle-timer 0.2 t 'auto-save-buffers "" ".ipa$") ;;; open-junk-file.el ;; M-x install-elisp-from-emacswiki open-junk-file.el ;; Usage M-x open-junk-file (require 'open-junk-file) (setq open-junk-file-format "~/junk/%Y-%m-%d-%H%M%S.") ;;; bm.el ;; M-x install-elisp ;; http //cvs.savannah.gnu.org/viewvc/*checkout*/bm/bm/bm.el (setq-default bm-buffer-persistence nil) (setq bm-restore-repository-on-load t) (require 'bm) (add-hook 'find-file-hooks 'bm-buffer-restore) (add-hook 'kill-buffer-hook 'bm-buffer-save) (add-hook 'after-save-hook 'bm-buffer-save) (add-hook 'after-revert-hook 'bm-buffer-restore) (add-hook 'vc-before-checkin-hook 'bm-buffer-save) (global-set-key (kbd "M-\\") 'bm-toggle) (global-set-key (kbd "M-[") 'bm-previous) (global-set-key (kbd "M-]") 'bm-next) ;;; Latex ;; 日本語コードをeuc-japanに (set-language-environment "Japanese") (set-default-coding-systems 'euc-japan) (set-terminal-coding-system 'euc-japan) ;;; Yatex (setq YaTeX-inhibit-prefix-letter nil)